package com.hzz.framework;

public interface IdGenerator {
    long nextId() throws Exception;

    long nextId(String tab) throws Exception;

    long nextId(String tab, long shardId) throws Exception;
}
